CellValue Method

       

Returns a raw data value in a column for a specified row in a DataGrid control. Doesn't support named arguments.

Syntax

object.CellValue bookmark

The CellValue method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
bookmark Required. A string expression that contains the unformatted data stored in a selected DataGrid control cell.

Remarks

When using the CellValue method, use the Columns collection to specify the specific column of the DataGrid control and set the bookmark argument to a specific row.

Using the CellValue method returns the same value as the Value property setting of the current Column object, except that you can specify a specific row in the DataGrid control to reference.

Using the CellValue method to extract information from a cell doesn't affect the current selection.